package my.design.decorator.up;

/**
 * @author zp
 * @version 1.0
 * @description: 修饰对象
 * @date 2022/10/10 19:29
 */
public abstract class Master extends Person {
    private final Person mPerson;
    public Master(Person person) {
        mPerson = person;
    }
    @Override
    public void sport() {
        mPerson.sport();
    }
}

